package com.been.common.exception;

/**
 * action 层处理异常
 * @author been
 * 2011-10-02
 */
public class ActionHandleException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	/** 页面名称 */
	private String pageName;

	public ActionHandleException(String pageName) {
		this.pageName = pageName;
	}

	public ActionHandleException(String message, Throwable cause) {
		super(message, cause);
	}

	public ActionHandleException(String pageName,String message) {
		super(message);
		this.pageName = pageName;
	}

	public ActionHandleException(Throwable cause) {
		super(cause);
	}

	public String getPageName() {
		return pageName;
	}

	public void setPageName(String pageName) {
		this.pageName = pageName;
	}
}
